package n06;

public class Circle extends Shape {
	private double radius;//半径
	public Circle(double radius) {
		this.radius=radius;
	}
	@Override
	public double getArea() {
		return Math.PI*radius*radius;
	}
	@Override
	public String getName() {
		return "Circle";
	}
}
